package com.java.imauoj.moudel;

public class Login {

    private User login;
    private Role role;

    public Login() {
    }

    public Login(User login, Role role) {
        this.login = login;
        this.role = role;
    }

    public User getLogin() {
        return login;
    }

    public void setLogin(User login) {
        this.login = login;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "Login{" +
                "login=" + login +
                ", role=" + role +
                '}';
    }
}
